/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.bishe.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.bishe.entity.BisheAccount;
import com.thinkgem.jeesite.modules.bishe.dao.BisheAccountDao;

/**
 * 资金管理Service
 * @author yue
 * @version 2018-12-28
 */
@Service
@Transactional(readOnly = true)
public class BisheAccountService extends CrudService<BisheAccountDao, BisheAccount> {

	public BisheAccount get(String id) {
		return super.get(id);
	}

	public BisheAccount getOne() {
		return dao.getOne();
	}

	public List<BisheAccount> findList(BisheAccount bisheAccount) {
		return super.findList(bisheAccount);
	}
	
	public Page<BisheAccount> findPage(Page<BisheAccount> page, BisheAccount bisheAccount) {
		return super.findPage(page, bisheAccount);
	}
	
	@Transactional(readOnly = false)
	public void save(BisheAccount bisheAccount) {
		super.save(bisheAccount);
	}
	
	@Transactional(readOnly = false)
	public void delete(BisheAccount bisheAccount) {
		super.delete(bisheAccount);
	}
	
}